﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.CRL.DataContract;

namespace Empires.RAL.Access
{
    public interface ICompanyDownloadAccess
    {
        string GetDownloadFileName(int id, string copname);
        List<DefaultDataPack> GetDownloadFiles(string copname, int type, int page, int take);
        int GetDownloadFilesItemCount(string copname, int type);

        int DeleteDownloadFile(string copname, int fid);

        bool DownloadAddItem(string id, DownloadDataPack datapack);
    }
}
